package com.chongbangbang.pojo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 基本数据之宠物类型
 * </p>
 *
 * @author TP
 * @since 2022-03-18 16:09:49
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("pet_type")
@ApiModel(value = "PetType对象", description = "基本数据之宠物类型")
public class PetType implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("pet_type表的自增id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("宠物分类的父ID")
    @TableField("pid")
    private Integer pid;

    @ApiModelProperty("类型")
    @TableField("`type`")
    private String type;


}
